﻿using System;
using System.ComponentModel;

namespace ThresholdAssistant.Enums
{
    /// <summary>
    /// 数据来源
    /// </summary>
    [Serializable]
    public enum DisperseSourceTypeEnum
    {
        /// <summary>
        /// 默认值
        /// </summary>
        [Description("默认值")]
        Default = 0,
        /// <summary>
        /// 运营后台
        /// </summary>
        [Description("运营后台")]
        OperationBackground = 10,
        /// <summary>
        /// 登录失败自动接管
        /// </summary>
        [Description("登录失败自动接管")]
        LoginFailedAutomaticNozzle = 20,
        /// <summary>
        /// 商家接口
        /// </summary>
        [Description("商家接口")]
        MerchantAPI = 30,
        /// <summary>
        /// 自动补登
        /// </summary>
        [Description("自动补登")]
        AutoSignInRetry = 40,
        /// <summary>
        /// 仓库
        /// </summary>
        [Description("仓库")]
        Repository = 50,
        /// <summary>
        /// 解除限制立即补登
        /// </summary>
        [Description("解除限制立即补登")]
        UnfreezeCallBack = 60,
        /// <summary>
        /// 防挤登
        /// </summary>
        [Description("防挤登")]
        DenyCrushLogin = 70,

        /// <summary>
        /// 离散调度
        /// </summary>
        [Description("离散调度")]
        DsiTaskSchedule = 80,

        /// <summary>
        /// 坑位恢复
        /// </summary>
        [Description("坑位恢复")]
        PitRestore = 90
    }
}